﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint"
      Title="$Resources:ListName_MailMessages" 
      FolderCreation="FALSE" Direction="$Resources:Direction;" 
      Url="Lists/MailMessages" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType ID="0x01001c6bb52066654a5e88b52c893fb97ebf" Name="MailMessage" Group="Protocols Content Types" Description="MailMessage" Inherits="TRUE" Version="0">
        <FieldRefs>
          <FieldRef ID="{0A6E7300-1CC0-4B3B-BDB6-077E9E400516}" Name="MessageCode" />
          <FieldRef ID="{5AC61707-7094-4D94-A2A1-9544989C3221}" Name="MessageSubject" />
          <FieldRef ID="{D7E4576C-C3C5-4517-B36D-85172BEA29DE}" Name="MessageBodyText" />
        </FieldRefs>
      </ContentType>
    </ContentTypes>
    <Fields>
      <Field Type="Text" StaticName="MessageCode" DisplayName="$Resources:MailMessage_MessageCode" ID="{0a6e7300-1cc0-4b3b-bdb6-077e9e400516}" Required="TRUE" Overwrite="TRUE" OverwriteInChildScopes="TRUE" Group="Protocols Columns" Name="MessageCode" />
      <Field Type="Text" StaticName="MessageSubject" DisplayName="$Resources:MailMessage_MessageSubject" ID="{5ac61707-7094-4d94-a2a1-9544989c3221}" Required="TRUE" Overwrite="TRUE" OverwriteInChildScopes="TRUE" Group="Protocols Columns" Name="MessageSubject" />

      <Field Type="Note"  RichText="TRUE"
    StaticName="MessageBodyText"
             RichTextMode="FullHtml"  
    DisplayName="$Resources:MailMessage_MessageBodyText"
    ID="{D7E4576C-C3C5-4517-B36D-85172BEA29DE}"
    Required="FALSE"
    Group="Protocols Columns"
    Name="MessageBodyText" />


    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu">
            </FieldRef>

          <FieldRef Name="MessageCode"></FieldRef>
          <FieldRef Name="MessageSubject"></FieldRef>



        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE">
            </FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="Attachments">
          </FieldRef>
          <FieldRef Name="LinkTitle">
          </FieldRef>

          <FieldRef Name="MessageCode"></FieldRef>
          <FieldRef Name="MessageSubject"></FieldRef>


        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="ID">
            </FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>